package com.tairanchina.joat;

import com.tairanchina.joat.exception.JoatExecuteException;

/**
 * Created by 周靖捷 on 2016/10/16.
 */
public class FilterPluginChain {
    private FilterPlugin next;

    Object doFilter(PluginVariable variable, PluginEnvironment environment) throws JoatExecuteException {
        return getNext().execute(variable,environment);
    }

    public FilterPlugin getNext() {
        return next;
    }
}
